
<div class="top_share_form">
			<p class="title_bg">发布分享...</p>
		
<?php

$model = new Links('share_input');
$form = $this->beginWidget('CActiveForm',array(
	'id'=>'links-form',
	'action'=>'/links/curl',
	'htmlOptions'=>array('onsubmit'=>'return false;'),
));
		echo $form->labelEx($model,'link_url');
		echo $form->textField($model,'link_url',array('class'=>'share_con jsin','value'=>'http://'));
		echo $form->error($model,'link_url',array('style'=>'display:none'));
		echo CHtml::submitButton('',array('class'=>'share_button','id'=>'ajaxButton','rel'=>'check','onclick'=>'crawl()')); 
		//echo '<input type="hidden" value="$errorSummary" id="errorSummary"/>';
	//	echo '<input type="submit" vlaue="发布分享" class="login_button" id="new_share_button" />'; 
		//echo CHtml::ajaxSubmitButton('发布','links/curl',array('type'=>'POST'),array('class'=>'login_button','id'=>'ajaxButton'));
$this->endWidget();?>	
</div>